package com.ecb.business.repository;

import com.ecb.business.po.ChainContractPO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ChainContractDao extends JpaRepository<ChainContractPO, Integer> {


    List<ChainContractPO> findAllByContractNameLikeAndStatusEqualsAndChainIdEquals(String contractName, int status, int chainId);
}
